<footer>
<p class="show-tool-tip" title="These numbers indicate the total load on your database and your server due to queries posted by this application. Increasing your Records Per Page in your Publication Settings will drastically increase these numbers.">Total Queries: <?php echo $db->total_queries(); ?> &bull; Total Bytes: <?php echo convert_bytes_to( memory_get_peak_usage(true) ); ?></p>

<p><a href="<?php echo $Controller->page_url('help');?>">Help</a></p>

<p> Lovingly crafted by <a href="http://www.EggplantStudios.ca">Eggplant Studios</a><br>
 &copy; <?php echo date('Y'); ?> - Eggplant Studios. All rights reserved.</p>

</footer>


<?php 
$session->clear_messages();

if( $session->is_logged_in() && !$session->is_admin() ) {
    create_javascript_var('user_names_autocomplete', $unique_names);
    create_javascript_var('setting_publication_day', $session->publication->publication_day );
}


?>

<script src="<?PHP echo BASE_URL; ?>js/libs/jquery-1.7.2.js"></script>
<script src="<?PHP echo BASE_URL; ?>js/libs/jquery-ui-1.8.21.custom.min.js"></script>
<script src="<?PHP echo BASE_URL; ?>js/script.js"></script>


<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
<![endif]-->
    
</body>
</html>